package com.hnucm.cooklife.contract.OrderDetaildetail;

import com.hnucm.cooklife.base.IBaseView;
import com.hnucm.cooklife.bean.db.OrderDetail;

import java.util.List;

import io.reactivex.Observable;

public class Contract {
    public interface IOrderDetailModel{
        Observable<OrderDetail> loadOrderDetail(Integer oId);
        Observable<OrderDetail> refreshOrderDetail(Integer oId);
    }

    public interface IOrderDetailView extends IBaseView{
        void onLoadOrderDetail(OrderDetail OrderDetailList);
        void onRefreshOrderDetail(OrderDetail OrderDetailList);
    }

    public interface IOrderDetailPresenter{
        void loadOrderDetail(Integer oId);
        void refreshOrderDetail(Integer oId);
    }
}
